package com.jsu.springboot_crop.service;

import com.github.pagehelper.PageInfo;
import com.jsu.springboot_crop.entity.Bank;
import com.jsu.springboot_crop.entity.Finance;
import com.jsu.springboot_crop.entity.FinanceUserDetails;
import com.jsu.springboot_crop.entity.Recommend;

import java.util.List;

/**
 * @Author wang
 * @Date 2023/8/26 15:28
 */
public interface BankService {
    public List<Bank> selectAllBank();
    PageInfo<Recommend> selectRecommend(Integer pageNum);
    PageInfo<Finance> selectByFinance(Finance finance, Integer pageNum);

    public List<Finance> selectByBankId(Integer bankId);

    public List<Finance> selectByIdName(Integer bankId,String name);
    public Finance selectFinanceById(Integer financeId);
    public void updateByFinance(Finance finance);
    public FinanceUserDetails selectFinanceUser(String name, Integer bankId);

    List<String> getPic(Integer id);
    String selectBankName(Integer bankid);
}
